package com.todo.content.application.frontend.service;

import com.todo.common.common.entity.response.BizPageResponse;
import com.todo.content.iface.frontend.request.QueryContentByClassifyParam;
import com.todo.content.iface.frontend.request.QueryContentByTopicParam;
import com.todo.content.iface.frontend.response.ContentBaseVO;

/**
 * (ContentBaseRelation)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:45
 */
public interface ContentRelationAggService {

    /**
     * 根据话题查询内容列表
     *
     * @param param
     * @return
     */
    BizPageResponse<ContentBaseVO> queryContentByTopic(QueryContentByTopicParam param);

    /**
     * 根据分类查询内容列表
     *
     * @param param
     * @return
     */
    BizPageResponse<ContentBaseVO> queryContentByClassify(QueryContentByClassifyParam param);
}
